import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import axios from 'axios'
import VueAxios from 'vue-axios'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/common.less'
import '@/assets/css/button.css'
import './common.css'
import { handleTree, resetForm, handleDict } from '@/api/common/common'

Vue.prototype.handleTree = handleTree
Vue.prototype.resetForm = resetForm
Vue.prototype.handleDict = handleDict

Vue.use(VueAxios, axios)
Vue.use(ElementUI)
Vue.config.productionTip = false

// eslint-disable-next-line no-new
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
